import GameInfo from "../../model/GameInfo";
import { GameStatusEnum } from "../../model/Enums";

export default class GameStart extends Laya.Script {
    
    constructor() { super(); }
    
    onEnable(): void { 
    }

    onDisable(): void {
    }
    
    public onStageClick(): void {
        GameInfo.instance.gameStatus = GameStatusEnum.Gaming;
        this.owner.removeSelf();
    } 
}